Elaboration and erasure in type theory

نویسنده

  • Marko Luther
چکیده

ions before the occurrence determining its type annotation (cf. Sect. ..), reduced the implicit term sizes further by 0.1% and 0.2%. Additional size reductions can be achieved by the elimination of coercion functions (4%) and outermost quantifications (4%). It has to be asked whether one could find an erasure algorithm which yields much smaller representations. To answer this question we determined arguments at implicit positions which the extended bimodal erasure algorithm presented explicitly. We found that, on average, terms could only be reduced by another 1.1% through erasing blindly all those arguments while only 20% of them had enough information to be reconstructed. Erasing, in addition, all remaining type annotations from abstractions reduced the representation by another 7.6%, but none of those implicit terms could be reconstructed. We conclude that the extended bimodal erasure algorithm removes the vast majority of redundant subterms, respecting the given color information, and achieves a near optimal representation thus leaving little room for further improvements. This explains the dismal advance of variations of the extended bimodal algorithm and is consistent with the result of Necula and Lee [NL98]. Their global representation algorithm is not significantly more effective than their one-bit one, but works essentially by simulating type reconstruction to optimize the representation size. In all cases their compression ratio as well as the ratio reported by Berghofer and Nipkow [BN00] exceed 90%. These better values can be explained by the fact that our algorithm removes only arguments at positions marked by the user, and we have analyzed type inference in a higher-order setting, while both reported on type checking for essentially first-order proofs. Figure . shows the elaboration time of term representations calculated by the different erasure algorithms, relative to the number of AST nodes of the corresponding explicit representation. The dotted line corresponds to the absolute effort of elaboration, which is practically equal for all implicit representations. It shows the elaboration time relative to the implicit term sizes. Only the fully explicit representations calculated by the trivial erasure algorithm can be elaborated (by a constant factor) faster, because elaboration reduces to type inference and does not depend on unification or instantiation. One interesting observation concerns the linearity of the elaboration time over the term size for all term representations, because type inference

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Non-MDS Erasure Code Scheme for Storage Applications

This paper investigates the use of redundancy and self repairing against node failures indistributed storage systems using a novel non-MDS erasure code. In replication method, accessto one replication node is adequate to reconstruct a lost node, while in MDS erasure codedsystems which are optimal in terms of redundancy-reliability tradeoff, a single node failure isrepaired after recovering the ...

متن کامل

Representative Sampling for Elaboration of the Alumina Manufacturing Process (Theory and Practice )

Sampling of any geological formation needs comprehensive knowledge of the rock genesis, through the dia- and epigenetic processes (secondary alterations) up to the physical properties and the chemical and mineralogical composition of the rock. Well established theoretical knowledge should be complemented by practical experience. Besides the geological exploration of a raw material, its represen...

متن کامل

The Effect of Using Visual Aids, Semantic Elaboration, and Visual Aids plus Semantic Elaboration on Iranian Learners' Vocabulary Learning

This study investigated the effect of using visual aids, semantic elaboration, and visual aids plus semantic elaboration on the Iranian EFL learners' vocabulary learning. To conduct the study, the researchers assigned 49 elementary learners to three homogeneous groups according to their proficiency level. Then, a pre-test of Paribakht and Wesche's Vocabulary Knowledge Scale was given to each gr...

متن کامل

Zero and negative energy dissipation at information-theoretic erasure

We introduce information-theoretic erasure based on Shannon’s binary channel formula. It is pointed out that this type of erasure is a natural energy-dissipation-free way in which information is lost in double-potential-well memories, and it may be the reason why the brain can forget things effortlessly. We also demonstrate a new non-volatile, charge-based memory scheme wherein the erasure can ...

متن کامل

An information theory for erasure channels

In this paper we consider a special class of communication channels called wireless erasure channels. In these channels, symbols sent over the channel are received errorless or erased and replace by the symbols e. These channels are very relevant for modelling communication networks from the viewpoint of higher layer where applications stand. In these networks the channel appear as erasure chan...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003